package com.xc.freeapp.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.xc.freeapp.entity.Issue;
@Repository
public interface IssueDao {
    public int deleteByPrimaryKey(Integer id);
    
    public int deleteByRelationId(Integer relationid);
    
    public int insert(Issue record);

    public Issue selectByPrimaryKey(Integer id);

    public int updateByPrimaryKey(Issue record);
    
    public List<Issue> getList(String relationId,PageBounds pageBounds);
}